// 首页
import axios from '@/api/request/request'

// 列表
const tagList = (option: any) => {
  return axios.get('/tag/list', { ...option })
}

// 所有
const tagAll = (option: any) => {
  return axios.get('/tag/all', { ...option })
}

// 保存
const tagSave = (option: any) => {
  return axios.post('/tag/save', { ...option })
}

// 删除
const tagDelete = (option: any) => {
  return axios.get('/tag/delete', { ...option })
}

export { tagList, tagAll, tagSave, tagDelete }
